﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Search.aspx.cs" Inherits="EuroAudit.Search" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>Meklēšana</title>
    <script type="text/javascript">
    
      function pageLoad() {
      }
    
    </script>
    <link href="Style.css" rel="stylesheet" type="text/css" />
</head>
<body class="PageMain">
    <form id="form1" runat="server">
    <div align="center">
        <asp:Label ID="lblCaption" runat="server" CssClass="LabelPageCaption" 
            Text="Meklēšana"></asp:Label>
        <br />
        <asp:ScriptManager ID="ScriptManager1" runat="server" />
    </div>
  
        <br />
    <asp:UpdatePanel ID="upParam" runat="server">
        <ContentTemplate>
        <table style="width:100%; height: 132px;">
            <tr>
                <td valign="top" width="50%">
                    <asp:Label ID="Label1" runat="server" CssClass="LabelFieldCaption" 
                        Text="Dokumenta veids"></asp:Label>
                    <br />
                    <asp:TextBox ID="txtDocType" runat="server" CssClass="FieldsText"></asp:TextBox>
                    <asp:Button ID="cmdShowDocType" runat="server" CssClass="cmdShowLists" 
                        onclick="cmdShowDocType_Click" Text="..." />
                    <br />
                    <asp:GridView ID="gvDocType" runat="server" AutoGenerateSelectButton="True" 
                        CssClass="TablePopUp" onselectedindexchanged="gvDocType_SelectedIndexChanged" 
                        Visible="False">
                    </asp:GridView>
                    <br />
                    <asp:Label ID="Label2" runat="server" CssClass="LabelFieldCaption" 
                        Text="Dokumenta numurs"></asp:Label>
                    <br />
                    <asp:TextBox ID="txtDocNum" runat="server" CssClass="FieldsText"></asp:TextBox>
                </td>
                <td valign="top" width="50%">
                    <asp:Label ID="Label3" runat="server" CssClass="LabelFieldCaption" 
                        Text="Datumu periods"></asp:Label>
                    <br />
                    <asp:TextBox ID="txtDocDate" runat="server" CssClass="FieldsText"></asp:TextBox>
                    <asp:Button ID="cmdShowDocDate" runat="server" CssClass="cmdShowLists" 
                        onclick="cmdShowDocDate_Click" Text="..." />
                    <br />
                    <asp:Calendar ID="cDocDate" runat="server" 
                        onselectionchanged="cDocDate_SelectionChanged" Visible="False">
                        <TodayDayStyle BackColor="Red" />
                    </asp:Calendar>
                    <br />
                    <asp:Label ID="Label4" runat="server" CssClass="LabelFieldCaption" 
                        Text="Dokumenta nosaukums"></asp:Label>
                    <br />
                    <asp:TextBox ID="txtDocName" runat="server" CssClass="FieldsText"></asp:TextBox>
                </td>
            </tr>
        </table>
        <div align="center">
            <asp:Label ID="lblErr" runat="server" CssClass="LabelError"></asp:Label>
            <br />
            <asp:Button ID="cmdFind" runat="server" CssClass="cmdSave" 
                onclick="cmdFind_Click" Text="Atlasīt" />
        </div>
        </ContentTemplate>
    </asp:UpdatePanel>
            
    <asp:UpdatePanel ID="upResults" runat="server" UpdateMode="Conditional">
        <ContentTemplate>
            <asp:Table ID="tResults" runat="server" CssClass="TableList">
            </asp:Table>
        </ContentTemplate>
    </asp:UpdatePanel>
    </form>
</body>
</html>
